/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package SVGDOM;

import java.awt.Color;

/**
 *
 * @author Martin
 */
public class ColorConverter {
    public String GetSvgColorStringFormat(Color color)
    {
        //creates rgb string as defined for SVG document
        return "rgb(" 
                + Integer.toString(color.getRed()) + ","
                + Integer.toString(color.getGreen()) + ","
                + Integer.toString(color.getBlue()) + 
                ")";
    }
}
